package com.njlime.cms.entities;


import javax.persistence.Entity;
import javax.persistence.Table;

import com.njlime.core.base.entities.BaseEntity;
import com.njlime.core.web.validation.RegexType;
import com.njlime.core.web.validation.annotation.Validate;

import java.util.Date;

/**
 * 贴吧对抗记录实体类
 *
 * @since 
 */
@Entity
@Table(name = "t_community_support")
public class CommunitySupport extends BaseEntity{
    private Integer community_id; // 对应活动id
    private Integer support; // 支持活动队伍，只有两个队伍，1对应队伍1,2对应队伍2
    private Integer user_id; // 对应会员id
    private Date create_time; //创建时间

    public Integer getCommunity_id() {
        return community_id;
    }

    public void setCommunity_id(Integer community_id) {
        this.community_id = community_id;
    }

    public Integer getSupport() {
        return support;
    }

    public void setSupport(Integer support) {
        this.support = support;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
}